package top.ryw.ssm2.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;

/**
 静态注入中间类
 */
public class RedisCacheTransfer {

    @Autowired
    public void setJedisConnectionFactory(JedisConnectionFactory jedisConnectionFactory)
    {
        RedisCache.setJedisConnectionFactory(jedisConnectionFactory);    }
}
